<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="客户银行卡管理">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <div class="toolbor-module">
                                <input type="button" class="input-button return" value="返回" onclick="location.href='cashbank.html'">
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form name="form1" method="post" action="cashbank.html">
                                <div class="valBox w750">
                                    <div class="top">
                                        <strong>客户银行卡管理</strong>
                                    </div>
                                    <div class="val clearfix">
                                        <ul>
                                            <li>
                                                <div class="title">用户名：</div>
                                                <div class="v">
                                                    ${accountBank.user.showName!}
                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">真实姓名：</div>
                                                <div class="v">
                                                    ${accountBank.user.realName!}
                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">开户银行：</div>
                                                <div class="v">
                                                    <#if drawBankList??>
                                                        <select name="drawBank">
                                                            <#list drawBankList as obj>
                                                                <option name="drawBank" value="${obj.id}"  <#if obj.id==accountBank.bank.id>selected="selected"</#if>>${obj.memo}
                                                            </#list>
                                                        </select>
                                                    </#if>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">开户行名称：</div>
                                                <div class="v">
                                                    <input type="text" class="val-text" name="branch" value="${accountBank.branch!}"  />
                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">银行账号：</div>
                                                <div class="v">
                                                    <input type="text" class="val-text" name="account" value="${accountBank.account!}"  />
                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">银行卡归属地：</div>
                                                <div class="v">
                                                    <#if accountBank?exists&&accountBank.province?exists>
                                                        <@region name="province" id="province" value=accountBank.province pid="0"></@region>&nbsp;
                                                    <#else>
                                                        <@region name="province" id="province" pid="0"></@region>&nbsp;
                                                    </#if>

                                                    <#if accountBank?exists&&accountBank.province?exists>
                                                        <#if accountBank.city?exists>
                                                            <@region name="city" id="city" value=accountBank.city pid=accountBank.province></@region>&nbsp;
                                                        <#else>
                                                            <@region name="city" id="city" pid=accountBank.province></@region>&nbsp;
                                                    </#if>
                                                    <#else>
                                                        <@region name="city" id="city" pid="-1"></@region>&nbsp;
                                                    </#if>

                                                    <#if accountBank?exists&&accountBank.city?exists>
                                                        <#if accountBank.area?exists>
                                                            <@region name="area" id="area" value=accountBank.area pid=accountBank.city></@region>&nbsp;
                                                        <#else>
                                                            <@region name="area" id="area" pid=accountBank.city></@region>&nbsp;
                                                    </#if>
                                                    <#else>
                                                        <@region name="area" id="area" pid="-1"></@region>&nbsp;
                                                    </#if>
                                                </div>
                                            </li>
                                        </ul>
                                        <div class="other">
                                            <input type="hidden" name="actionType" value="add" />
                                            <input type="hidden" name="ref" value="${ref!}" />
                                            <input type="hidden" name="id" value="${(accountBank.id!0)?c}" />
                                            <input type="hidden" name="user_id" value="${(accountBank.user.userId!0)?c}" />
                                            <input type="submit" name="reset" value="确定修改"  class="input-button confirm"/>
                                        </div>
                                    </div>
                                </div>

                            </form>

                        </div>
        </div>
    </div>
    <div class="mc-b"><#include "../foot.html"></div>
    <div class="msgClass">${rsmsg!""}</div>
    <script type="text/javascript" src="${request.getContextPath()}${theme_dir}/media/js/area.js"></script>
    <#include "../jsPage.html">
</body>
</html>


